Airwallex\Services\OrderService B

Total Complexity 98
Dependencies 15
Dependents 10
Total lines 583
Lines of code 479
Logical lines of code 219
Comment lines 56
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
updateOrderDetails()
B
41 23 50
paymentCompleteByAuthorize()
A
40 9 60
checkPendingTransactions()
A
47 9 34
getOrderByPaymentIntentId()
A
46 7 47
getRefundByAmountAndTime()
A
41 5 74
getRefundIdByAirwallexRefundId()
S
48 5 41
update_consent()
S
57 5 18
paymentCompleteByCapture()
S
48 4 33
getOrderByAirwallexRefundId()
S
52 4 27
getPendingPaymentOrdersIds()
S
52 3 31
getAirwallexCustomerId()
S
57 3 16
containsSubscription()
S
77 4 3
getOrderMetaTableName()
S
69 3 7
getOrderIdColumnNameFromMetaTable()
S
71 3 6
setPaymentSuccess()
S
66 3 8
getInstance()
S
71 2 6
setTemporaryOrderStateAfterDecline()
S
71 2 6
setPendingStatus()
S
71 2 6
setAuthorizedStatus()
S
71 2 6